package net.jiupinshi.enums;

/**
 * @Despription: 需要修改
 * @Author: penghui.guo
 * @Date: 2018/11/25 17:58
 */
public class BusinessEnum {
    /**
     * 店铺状态
     */
    public static enum StoreStatusEnum{
        DELETE((byte)0, "删除"),
        OPEN((byte)1, "营业"),
        CLOSE((byte)2, "歇业");

        StoreStatusEnum(byte code, String desc){
            this.code = code;
            this.desc = desc;
        }
        public byte code;
        public String desc;
    }

    /**
     * 报销申请状态
     */
    public static enum ExpenseApplyStatusEnum{
        DELETE((byte)0, "删除"),
        AUDITING((byte)1, "待审核"),
        AUDITED((byte)2, "审核完成"),
        REJECT((byte)3, "审核完成");

        ExpenseApplyStatusEnum(byte code, String desc){
            this.code = code;
            this.desc = desc;
        }
        public byte code;
        public String desc;
    }

    /**
     * 用户状态
     */
    public static enum UserStatusEnum{
        DELETE((byte)0, "删除"),
        EFFECTIVE((byte)1, "有效"),
        INVALID((byte)2, "无效");

        UserStatusEnum(byte code, String desc){
            this.code = code;
            this.desc = desc;
        }
        public byte code;
        public String desc;
    }

    /**
     * 用户角色
     */
    public static enum RoleTypeEnum{
        STORE_ASSISTANT(1, "店员"),
        STOER_MANAGER(2, "店长");

        RoleTypeEnum(long code, String desc){
            this.code = code;
            this.desc = desc;
        }
        public long code;
        public String desc;
    }


}
